package com.woniuxy.orderclient.client;

import com.woniuxy.core.model.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("process-server")
public interface ProcessFeignClient {

    //生成私教订单进度
    @GetMapping("/process/pricard/add")
    public Result addPricardProcess(@RequestParam("orderNum") String orderNum);

    //生成团课订单进度
    @GetMapping("/process/teacard/add")
    public Result addTeacardProcess(@RequestParam("orderNum") String orderNum);

    //生成次卡订单进度
    @GetMapping("/process/countCardStep/add")
    public Result addCountCardProcess(@RequestParam("orderNum") String orderNum);

    //生成有效期卡订单进度
    @GetMapping("/process/validCardStep/add")
    public Result addValidCardProcess(@RequestParam("orderNum") String orderNum);
}
